RWA_ANCHOR


Purpose

Creates a link to a given URL and appends the code generated to a string.

Syntax

RWA_ANCHOR(vString, URL, Text, aClass)

Parameters

vString A variable containing the string to which the generated code is appended. On return, the variable contains the modified string. If the string does not exist, it is created.

URL The URL of the target of the link. This can be any valid document URL, absolute or relative. If the supplied URL does not start with a slash ('/'), the URL will be modified by prefixing it with the following string:

/servlet/reality/database/

where database is the name of the current REALITY database.

Text The screen text that is associated with the link.

aClass A dynamic array that can contain the following elements:

Element No. Attribute Description
1 CLASS The name of a tag class defined in a CSS stylesheet.

Attributes defined in the aClass parameter are applied to the A tag.

For information about using aClass, see The aClass Parameter.

Go to top button